Cognitive assessment of obsessive-compulsive and impulsive behaviours